//
//  ZSForgetPwdVC.m
//  ROSE
//
//  Created by Apple on 2018/6/4.
//  Copyright © 2018年 HeNanZhongDunYunAn. All rights reserved.
//

#import "ZSForgetPwdVC.h"

@interface ZSForgetPwdVC ()

@end

@implementation ZSForgetPwdVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.navigationItem.title = @"重置密码";
    
    UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 60, 20)];
    [btn setImage:[UIImage imageNamed:@"返回"] forState:UIControlStateNormal];
    [btn.imageView setContentMode:UIViewContentModeScaleAspectFit];
    [btn setImageEdgeInsets:UIEdgeInsetsMake(0, -50, 0, 0)];
    [btn addTarget:self action:@selector(popSelector) forControlEvents:UIControlEventTouchUpInside];
    btn.tintColor = [UIColor whiteColor];
    UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithCustomView:btn];
    self.navigationItem.leftBarButtonItem = item;
    
}

- (UIStatusBarStyle)preferredStatusBarStyle{
    return UIStatusBarStyleLightContent;
}

- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)popSelector {
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

@end
